package Thread.SetName;

public class MyThread01 extends Thread {
    public MyThread01() {
    }

    public MyThread01(String name) {
        super(name);
    }

    @Override
    public void run() {
        //System.out.println(getName());
        System.out.println(Thread.currentThread().getName());
    }
}
